#include <dolphin/socket.h>
SOHostEnt* SOGetHostByAddr( const void* addr, int len, int type );
SOGetHostByAddr() returns information about the host with
address addr.
Note:
SOGetHostByAddr() is not reentrant and not thread-safe.
addr |
A pointer to an address in network byte order. |
len |
The length of the address pointed to by addr. |
type |
The family type of the address. (SO_PF_INET for an IPv4
address). |
A pointer to
SOHostEnt structure if the requested entry
was found. Otherwise NULL.